package com.dhecp.project.hr.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dhecp.project.common.service.impl.BaseModuleServiceImpl;
import com.dhecp.project.hr.domain.AmazonRegion;
import com.dhecp.project.hr.mapper.AmazonRegionMapper;
import com.dhecp.project.hr.service.AmazonRegionService;

/**
 * @program: kjecp
 * @description: 亚马逊地区
 * @author: xdh
 */
@Service
public class AmazonRegionServiceImpl extends BaseModuleServiceImpl implements AmazonRegionService {

    @Autowired
    private AmazonRegionMapper businessMapper;

    /**
     *@Description: 通过名称查询地区
     */
    @Override
    public AmazonRegion findByName(String name) {
        return businessMapper.findByName(name);
    }
}